<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>促销广告特效</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <div class="present" id="present">
      <div class="lid">
        <span></span>
      </div>
      <div class="promo">
        <p>获得八折优惠券</p>
        <h2>恭喜你</h2>
      </div>
      <div class="box">
        <span></span>
        <span></span>
      </div>
    </div>
    <!-- 五彩纸屑：https://github.com/catdad/canvas-confetti -->
    <script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.4.0/dist/confetti.browser.min.js"></script>
    <script src="script.js"></script>
  </body>
</html>
